home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
081
/
omam_112.arc
/
RSBBS.MAM
< prev
next >
Wrap
Text File
|
1987-11-29
|
3KB
|
118 lines
; RSBBS MAM Script
; This script is similar to the one I use on the RSBBS.
; Define some macros ...
DEFINE opus d:\opus
DEFINE misc $opus$\misc
DEFINE files d:\opus\files
DEFINE arcs $files$\archives
; Declare the log, user, and echo files ...
FILE LOG d:\opus\log\mam.log
FILE USER $opus$\user.bbs
FILE ECHO d:\opus\nodelist\echo.ctl
; Declare the paths ...
PATH SYSTEM $opus$\
PATH CUSTOM $opus$\notes\
; When figuring the age of a message, I want RASMAM to use the date the
; message arrived on the system ...
DATE ARRIVED
; The following are for the messages waiting lists ...
FILE HEADER $misc$\opuswait.hdr $misc$\graphics.hdr
FORMAT C
---------- PICTURE GALLERY COMMANDS --------------
; Point to temporary directory ...
DEFINE temp $opus$\temp\
PATH TEMP $temp$
; Use SEA's arc utility ...
ARC
; Handle ANSI pictures (these go to EDTORIAL.GBS) ...
PICTURE FILE $misc$\ansi.arc
PICTURE HEADER $misc$\ansi.hdr
PICTURE TRAILER $misc$\ansi.trl
PICTURE INDEX $misc$\ansi.idx
PICTURE NEXT TO $misc$\edtorial.gbs
; Handle ASCII pictures (these goto EDTORIAL.BBS) ...
PICTURE FILE $misc$\ascii.arc
PICTURE HEADER $misc$\ascii.hdr
PICTURE TRAILER $misc$\ascii.trl
PICTURE INDEX $misc$\ascii.idx
PICTURE NEXT TO $misc$\edtorial.bbs
; You can use the Picture Gallery commands to make your bulletin or
; log file change each day!
--------------------- Process Message Areas -------------------
; I have a listing in my user list for "All" to keep someone
; from logging on as "ALL." The following keeps message
; waiting lists from being generated for "ALL":
LOCK all
: Ben-z Lawrence, James Young, and Steve Marcussen are local Sysops who
; share their GENERAL message area (and other areas) with the RSBBS.
; Since they read the messages on their own boards, I use LOCK
; and UNLOCK so MAM only checks areas for them that they don't
; get on their on board.
LOCK Ben-z Lawrence
LOCK James Young
LOCK Steven Marcussen
AREA general ECHO
WAIT
RENUM SUBJECT
ARCHIVE KEEP 75 TO $arcs$\chat#YEAR#.$MONTH$
END AREA
UNLOCK James Young
UNLOCK Ben-z Lawrence
UNLOCK Steven Marcussen
AREA comment
WAIT
RENUM
KILL KEEP 50
KILL RECEIVED PRIVATE
END AREA
LOCK Steven Marcussen
LOCK Ben-z Lawrence
LOCK James Young
AREA net
WAIT
RENUM SUBJECT
KILL RECEIVED DAYS 2
KILL DAYS 7
END AREA
; I don't allow anyone with less than PRIVIL priv's to get to MEADOW,
; so ...
LOCK TWIT
LOCK DISGRACE
LOCK NORMAL
; For MEADOW I want the KILL command to delete any message WRITTEN more
; than 15 days ago, so I use ...
DATE WRITTEN
AREA meadow ECHO
WAIT
RENUM SUBJECT
KILL DAYS 15
END AREA
; Add trailer's to custom welcomes ...
FILE TRAILER $misc$\opuswait.trl